package juhouse.glb.area.form;

import juhouse.framework.tools.DoText;

import org.apache.struts.action.ActionForm;

public class ZoneForm extends ActionForm{

	/**
	 * 
	 */
	DoText myDoText = new DoText();
	private static final long serialVersionUID = -1421810603831848934L;
	private String areaId;
	private int    zoneId;
	private String zone;
	private String content;
	public String getAreaId() {
		return areaId;
	}
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		if(content.equals("")||content.equals("<P>&nbsp;</P>"))
		{
			content = null;
		}
		this.content = content;
	}
	public String getZone() {
		return zone;
	}
	public void setZone(String zone) {
		zone = myDoText.htmlEncode(zone);
		this.zone = zone;
	}
	public int getZoneId() {
		return zoneId;
	}
	public void setZoneId(int zoneId) {
		this.zoneId = zoneId;
	}
}